﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PartsAdd.aspx.cs" Inherits="Parts_PartsAdd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="body" Runat="Server">



    <div style="background-color:White; padding:2.5%">
        <asp:Label ID="lbAssetHeading" runat="server" Text="Computer Part" Font-Bold="True" 
            Font-Size="X-Large"></asp:Label>
            <br /><br />

        <asp:Table ID="Table1" runat="server" CellPadding="1" 
                CellSpacing="0">
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lbInstall_Date" runat="server" Text="Install Date: "></asp:Label>
            
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtInstall_Date" runat="server"></asp:TextBox>
            
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lbPart_Type" runat="server" Text="Part Type: "></asp:Label>
            
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtPart_Type" runat="server"></asp:TextBox>
            
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lbPart_Serial" runat="server" Text="Part Serial: "></asp:Label>
            
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtPart_Serial" runat="server"></asp:TextBox>
            
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                    <asp:Label ID="lbPart_Description" runat="server" Text="Part Description: "></asp:Label>
            
                </asp:TableCell>
                <asp:TableCell>
                    <asp:TextBox ID="txtPart_Description" runat="server"></asp:TextBox>
                </asp:TableCell>
            </asp:TableRow>
            <asp:TableRow>
                <asp:TableCell>
                        <asp:Button ID="btnAdd" runat="server" Text="Add Part" class="button" 
                        style="width:150px; top: 0px; left: 0px;" onclick="btnAdd_Click" />
                </asp:TableCell>
                <asp:TableCell>
                        <asp:Button ID="btnCancle" runat="server" Text="Cancle" class="button" 
                        style="width:150px; top: 0px; left: 0px;" Visible="True" Enabled="True" onclick="btnCancle_Click" />            
                </asp:TableCell>
            </asp:TableRow>

        </asp:Table>
        <asp:Label ID="lbSuccess" runat="server" Text="Successfully added!" 
            ForeColor="#009900"></asp:Label>
    </div>


</asp:Content>

